cmake_minimum_required(VERSION 3.10.0)
project(bbst VERSION 0.1.0)

set(CMAKE_C_COMPILER clang)
set(CMAKE_C_FLAGS "-std=c23 -Weverything -Wno-declaration-after-statement -Wno-unsafe-buffer-usage -Wno-pre-c23-compat -Wno-c++98-compat -Wno-sign-conversion")

include_directories(src)
include_directories(src/bst)
include_directories(src/avl_bst)

add_executable(bbst
src/bst/iterate.c
src/bst/search.c
src/avl_bst/add.c
src/main.c
)